package com.hmdp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hmdp.entity.Voucher;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @author 86178
 */
public interface VoucherMapper extends BaseMapper<Voucher> {
    /**
     * 获取优惠券的商品id
     *
     * @param shopId
     * @return
     */
    List<Voucher> queryVoucherOfShop(@Param("shopId") Long shopId);
}
